import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import { createPinia } from 'pinia';

// 完全引入elementplus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { OhVueIcon, addIcons } from "oh-vue-icons";


import { BiGithub, MdEmail, RiWechatFill } from "oh-vue-icons/icons";
addIcons(BiGithub, MdEmail, RiWechatFill);


import router from './router'

const app = createApp(App)
const pinia = createPinia()

app.use(pinia)
app.component("v-icon", OhVueIcon);

app.use(ElementPlus);
app.use(router);
app.mount('#app')